package lesson.c4;

public class Student {
	
	private String _name = "";
	
	public Student(String name){
		_name = name;
	}
	
	public String getName(){
		return _name;
	}
	
	public int getScore(String classname, int timestamp){
		String key = classname+timestamp+_name;
		return Integer.valueOf(DataStore.getInstance().get(key)).intValue();
	}
}
